package com.hailong.zyt.service;

import com.hailong.zyt.beans.Course;
import com.hailong.zyt.beans.CourseAll;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hailong
 * @since 2021-05-17
 */
public interface CourseAllService extends IService<CourseAll> {
    //根据ID找选了几门课
    Integer getCourseCount(Long stuId);

    //根据学生ID查询所选课程的详细信息
    List<Course> getStudentAllCourseById(Long stuId);
}
